import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';

// 单据编号设定
export const spinPositionCreate = (data) => postRequest('/spin/position/create', data);
export const spinPositionUpdate = (data) => putRequest('/spin/position/update', data);
export const spinPositionDelete = (params) => deleteRequest('/spin/position/delete', params);
export const spinPositionGet = (params) => getRequest('/spin/position/get', params);
export const spinPositionPage = (params) => getRequest('/spin/position/page', params);

export const spinWarehousePage = (params) => getRequest('/spin/warehouse/page', params);

